Component org.nuxeo.easyshare.auth.contrib
In bundle easyshare
Contributions
- org.nuxeo.easyshare.auth.contrib--providers
- org.nuxeo.easyshare.auth.contrib--sanitizer
- org.nuxeo.easyshare.auth.contrib--openUrl
- org.nuxeo.easyshare.auth.contrib--actions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.easyshare.auth.contrib">
<extension point="openUrl"
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService">
<openUrl name="EasyShare">
<grantPattern>/nuxeo/site/easyshare/.*</grantPattern>
</openUrl>
<openUrl name="EasyShareSkins">
<grantPattern>/nuxeo/site/skin/easyshare/.*</grantPattern>
</openUrl>
<openUrl name="EasyShareCss">
<grantPattern>/nuxeo/site/skin/easyshare/css/.*</grantPattern>
</openUrl>
<openUrl name="EasyShareImages">
<grantPattern>/nuxeo/site/skin/easyshare/image/.*</grantPattern>
</openUrl>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="showEasyShareURL" order="20" label="label.eshare.permalink" type="fancybox"
icon="/icons/contextual_menu/share.png" accessKey="k">
<category>DOCUMENT_UPPER_ACTION</category>
<filter id="easyShareFolderFilter">
<rule grant="true">
<type>EasyShareFolder</type>
</rule>
</filter>
<properties>
<property name="include">/incl/easyshare_url_box.xhtml</property>
<property name="ajaxSupport">true</property>
</properties>
</action>
<action id="permalinkAction" order="20" label="label.permalink" type="fancybox"
icon="/icons/contextual_menu/share.png" accessKey="k">
<category>DOCUMENT_UPPER_ACTION</category>
<filter id="easySharePermalinkFilter">
<rule grant="false">
<type>EasyShareFolder</type>
</rule>
</filter>
<properties>
<property name="include">/incl/permalink_box.xhtml</property>
<property name="ajaxSupport">true</property>
</properties>
</action>
</extension>
<extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers">
<coreQueryPageProvider name="EASYSHARE_FOLDER_CONTENT_PP">
<pattern>
<!-- Note: we want proxies.
Parameter is the EasyFolder id -->
SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isVersion = 0 AND
ecm:isCheckedInVersion = 0 AND ecm:mixinType != 'HiddenInNavigation'
AND ecm:currentLifeCycleState != 'deleted'
</pattern>
<sort column="dc:title" ascending="true" />
<pageSize>0</pageSize>
<maxPageSize>0</maxPageSize>
</coreQueryPageProvider>
</extension>
<extension point="sanitizer" target="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService">
<sanitizer name="easyshare">
<field>easysharefolder:shareComment</field>
</sanitizer>
</extension>
</component>